<?
$g4_path = "../../..";

include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");

// wr_id 값이 있으면 글읽기 
if ($wr_id) {
    // 글이 없을 경우 해당 게시판 목록으로 이동
    if (!$write[wr_id]) {
        $msg = "글이 존재하지 않습니다.\\n\\n글이 삭제되었거나 이동된 경우입니다.";
        if ($cwin)
            alert_close($msg);
        else
            alert($msg, "./board.php?bo_table=$bo_table");
    }

    // 로그인된 회원의 권한이 설정된 읽기 권한보다 작다면
    if ($member[mb_level] < $board[bo_read_level]) {
        if ($member[mb_id]) 
            alert("글을 읽을 권한이 없습니다.");
        else 
            alert("글을 읽을 권한이 없습니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.", "./login.php?wr_id=$wr_id{$qstr}&url=".urlencode("board.php?bo_table=$bo_table&wr_id=$wr_id"));
    }

    // 자신의 글이거나 관리자라면 통과
    if (($write[mb_id] && $write[mb_id] == $member[mb_id]) || $is_admin)
        ;
    else {
        // 비밀글이라면
        if (strstr($write[wr_option], "secret")) {
            $ss_name = "ss_secret_{$bo_table}_$write[wr_num]";
            //$ss_name = "ss_secret_{$bo_table}_{$wr_id}";
            // 한번 읽은 게시물의 번호는 세션에 저장되어 있고 같은 게시물을 읽을 경우는 다시 패스워드를 묻지 않습니다.
            // 이 게시물이 저장된 게시물이 아니면서 관리자가 아니라면
            //if ("$bo_table|$write[wr_num]" != get_session("ss_secret")) 
            if (!get_session($ss_name)) 
                goto_url("./password.php?w=s&bo_table=$bo_table&wr_id=$wr_id{$qstr}");

            set_session($ss_name, TRUE);
        }
    }
	



    $g4[title] = "$group[gr_subject] > $board[bo_subject] > " . strip_tags(conv_subject($write[wr_subject], 255));
} else {
    if ($member[mb_level] < $board[bo_list_level]) {
        if ($member[mb_id]) 
            alert("목록을 볼 권한이 없습니다.");
        else 
            alert("목록을 볼 권한이 없습니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.", "./login.php?wr_id=$wr_id{$qstr}&url=".urlencode("board.php?bo_table=$bo_table&wr_id=$wr_id"));
    }

    if (!$page) $page = 1; 

    $g4[title] = "$group[gr_subject] > $board[bo_subject] $page 페이지";
}


$view = get_view($write, $board, $board_skin_path);

if (strstr($sfl, "subject"))
    $view[subject] = search_font($stx, $view[subject]);

$html = 0;
if (strstr($view[wr_option], "html1"))
    $html = 1;
else if (strstr($view[wr_option], "html2"))
    $html = 2;

$view[content] = conv_content($view[wr_content], $html);
if (strstr($sfl, "content"))
    $view[content] = search_font($stx, $view[content]);
$view[content] = preg_replace("/(\<img )([^\>]*)(\>)/i", "\\1 name='target_resize_image[]' onclick='image_window(this)' style='cursor:pointer;' \\2 \\3", $view[content]);

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="javascript" src="<?=$g4_path?>/js/common.js"></script>
<script language="javascript">
var g4_is_gecko  = navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
var g4_is_ie     = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
</script>
<script language="JavaScript">
<!-- 
function _stop(){ 
document.MediaPlayer1.stop(); 
} 
 
function start(){ 
document.MediaPlayer1.Play(); 
} 
function pause(){ 
if (MediaPlayer1.PlayState == 2) document.MediaPlayer1.pause(); 
} 

function soundOnOff()
{
//사운드를 끄는...
if(document.MediaPlayer1.mute == true)
{
document.imgButton.src="img/vl_01.gif";//재생중 이미지 경로
document.MediaPlayer1.mute = false;
}
//사운드를 켜는...
else if(document.MediaPlayer1.mute == false)
{
document.imgButton.src="img/vl_on_01.gif";//멈춤 이미지 경로
document.MediaPlayer1.mute = true;
}	
}

//볼륨조절 시작
function player_vol(vol){
   
    var volume = vol;
	var index1;
	var i;
		
	document.MediaPlayer1.volume = volume;
	
	index1 = parseInt(( parseInt(volume) / 200) * -1)
	
	for ( i = 15 ; i >= index1 ; i--){
		eval("volumeimage" + i).src = "img/volume_03.gif"
	}
	
	for ( i = (index1 - 1) ; i >= 0 ; i--){
		eval("volumeimage" + i).src = "img/volume_19.gif"
	}
}
-->
</script>

 <SCRIPT language=JavaScript >
<!--
function list(view){ 
if(view==document.all.none){ 

document.all.a.style.display="none" 

} 

else{ 

document.all.a.style.display="none" 
document.all.b.style.display="none" 
view.style.display="" 
} 
} 
//-->
</SCRIPT>

<script language="javascript">
<!--
function d_size() //double size
{
window.resizeTo(700, 760);
}	
function n_size() //normal size
{
window.resizeTo(751, 530);	
}		
function f_size() //normal size
{
document.MediaPlayer1.DisplaySize = 3;
document.MediaPlayer1.Play();	
}
-->
</SCRIPT>
<SCRIPT language=jscript event=Buffering(bStart) for=MediaPlayer1>

if(!read_prevod){
if( bStart )
{
	sstate1.innerHTML = "버퍼링 "
	} else
{
	sstate1.innerHTML = "재생중 "
	}
}	
</SCRIPT>
<SCRIPT language=jscript event="PlayStateChange(lOldState, lNewState)" for=MediaPlayer1>
if(!read_prevod){
switch(lNewState)
{
	case 0 :
		sstate1.innerHTML = "중지됨"
		break;
	case 1 :
		sstate1.innerHTML = "일시중지"
		break;
	case 2 :
		sstate1.innerHTML = "재생중"
		break;
	case 6 :
		sstate1.innerHTML = "연결중"
		break;
	case 7 :
		sstate1.innerHTML = "연결중"
		break;
	case 8 : 
		sstate1.innerHTML = "연결중"
		break;
	case 9 :
		sstate1.innerHTML = "연결중"
		break;
	case 10 :
		sstate1.innerHTML = "연결중"
		break;
	case 15 :
		sstate1.innerHTML = ""
		break;

	case 21:
		sstate1.innerHTML = "잘못되었습니다."
		break;
}
}
</SCRIPT>
<SCRIPT language=JavaScript>
<!--
var sizemode = 1
 var read_prevod=false

function init(){

 window.setInterval("posmove()", 100);
}

function posmove(){

	if(document.MediaPlayer1.currentPosition==0){
	document.all.posbtn.style.posLeft =37;
	}else{
	document.all.posbtn.style.posLeft =37+320*document.MediaPlayer1.currentPosition/document.MediaPlayer1.Duration
	}

    var dhour = parseInt(document.MediaPlayer1.duration / 3600);
    var dmin = parseInt(document.MediaPlayer1.duration % 3600 / 60);
    var dsec = parseInt(document.MediaPlayer1.duration % 60);

    var phour = parseInt(document.MediaPlayer1.currentPosition / 3600);
    var pmin = parseInt(document.MediaPlayer1.currentPosition % 3600 / 60);
    var psec = parseInt(document.MediaPlayer1.currentPosition % 60);


    if( dmin < 10)
		dmin = "0" + dmin;
    if( dsec < 10)
		dsec = "0" + dsec;
    if( pmin < 10)
		pmin = "0" + pmin;
    if( psec < 10)
		psec = "0" + psec;
		
    if(!read_prevod){
    sstate2.innerHTML = phour + ":" +pmin + ":" + psec + " / " + dhour + ":" + dmin + ":" + dsec + " " ; 
    }
    

}

var objid;
function setVolume(obj)
{
	objid = obj.id;
	x=event.screenX-document.all[objid].style.posLeft
}
document.onmousemove = moveobj;
document.onmouseup = freeobj;



function moveobj()
{
	if(objid == "volbtn")
	{
		if (event.screenX-x>=37 && event.screenX-x<=330)
		document.all[objid].style.posLeft=event.screenX-x;
		doSetVolume(Math.round(document.all[objid].style.posLeft));
	}
	
	else if(objid =="posbtn"){
	     if (sizemode =="1"){
	     if (event.screenX-x>=37 && event.screenX-x<=330){
		document.all[objid].style.posLeft=event.screenX-x;
		doSetPosition( Math.round(document.all[objid].style.posLeft));	}		
	     }
	     }
	return false;
}

function freeobj()
{
	objid = "";
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</SCRIPT>
<style type="text/css">
<!--
BODY {	margin:0 0 0 0;	font-family:"돋움";	font-size: 12px;	COLOR: #333333;	LINE-HEIGHT: 150%;	letter-spacing: 0px;	}
}
td, p, input, button, textarea, select, .c1	{	font-family:"돋움";	font-size: 12px;	COLOR: #555555;	LINE-HEIGHT: 150%;	letter-spacing: 0px;}
.scrollbar { scrollbar-face-color: #F7f7f7; scrollbar-shadow-color:#E9E9E7; scrollbar-highlight-color:#FFFFFF;scrollbar-3dlight-color: #E4E9EA; scrollbar-darkshadow-color: #777777;scrollbar-track-color: #FcFcFc;scrollbar-arrow-color: #10173C; } 
.new { font-size:7pt; color:#CD003C; font-family:Verdana;  }
A:link {	COLOR:#555555; TEXT-DECORATION: none;}
A:visited {	COLOR:#555555; TEXT-DECORATION: none;}
A:hover { COLOR:#FF6600;	TEXT-DECORATION: none;}
-->
</style>
<title>동영상보기</title>
</head>
<body onload=init();MM_preloadImages('images/new_meno_on.gif')>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    <td><table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="22" height="65"><img src="img/pllayerbg_01.gif" width="22" height="65"></td>
    <td height="65" background="img/pllayerbg_04.gif"><div align="center"><img src="img/pllayerbg_03.gif" width="264" height="65"></div></td>
    <td width="24" height="65"><img src="img/pllayerbg_06.gif" width="24" height="65"></td>
  </tr>
  <tr> 
    <td background="img/pllayerbg_07.gif"><img src="img/pllayerbg_10.gif" width="22" height="243"></td>
    <td bgcolor="#333333" ><div align="center"> 
		<textarea id=txt1 style="display:none;" rows="0" cols="0"><!-- 기존 embed 구분 상단에 태그 시작 -->
        <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="100%" height="100%" id="MediaPlayer1">
          <param name="Filename" value="<?=$write["wr_link2"]?>">
          <param name="AutoSize" value="1">
          <param name="AutoStart" value="true">
          <param name="AutoRewind" value="0">
          <param name="ClickToPlay" value="false">
          <param name="Enabled" value="0">
          <param name="EnableContextdir" value="false">
          <param name="EnableTracker" value="0">
          <param name="Mute" value="0">
          <param name="ShowCaptioning" value="0">
          <param name="ShowControls" value="0">
          <param name="ShowAudioControls" value="false">
          <param name="ShowDisplay" value="false">
          <param name="ShowTracker" value="false">
          <param name="VideoBorderWidth" value="0">
          <param name="ShowStatusBar" value="0">
        </object></textarea><!-- 기존 embed 태그 사이에 추가 끝에 태그 닫아줌. --><script language="javascript" src=<?=$board_skin_path?>/embed.js></script> <!-- 스크립트 호출 -->
      </div></td>
    <td background="img/pllayerbg_09.gif"><img src="img/pllayerbg_11.gif" width="24" height="243"></td>
  </tr>
  <tr> 
    <td height="21"><img src="img/pllayerbg_12.gif" width="22" height="21"></td>
    <td background="img/pllayerbg_13.gif"><div align="center"><img src="img/pllayerbg_13.gif" width="1" height="21"></div></td>
    <td><img src="img/pllayerbg_16.gif" width="24" height="21"></td>
  </tr>
  <tr> 
    <td width="22" height="88"><img src="img/pllayerbg_17.gif" width="22" height="88"></td>
    <td background="img/pllayerbg_18.gif"> <table width="358" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td style="padding-left:15px; padding-right:10px;">
		  <table width="100%" border="0" cellspacing="0" cellpadding="0" background="img/vl_bg.gif">
              <tr>
			  <td width="1"><img src="img/vl_left.gif" width="1" height="15"></td>
			  <td height="15" width="356" valign="top"><div id="bar2" style="position:relative; left:-40px; top:0px; width:0px; height:0px; z-index:2"><img src="img/play.gif" name="posbtn" width="18" height="8" vspace="5" id=posbtn style="Z-INDEX: 1;  CURSOR: default; POSITION: absolute;" onmousedown=setVolume(this)></div></td>
                <td width="1"><img src="img/vl_right.gif" width="1" height="15"></td>
              </tr>
            </table>
		</td>
        </tr>
        <tr> 
          <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="26"><img src="img/pllayerbg_23.gif" width="26" height="34"></td>
                <td width="25" background="img/pllayerbg_25.gif"><img src="img/spectrum_on.gif" width="19" height="15"></td>
                <td  nowrap background="img/pllayerbg_25.gif"  id=sstate1 style="FONT-SIZE: 9pt; COLOR: #ffffff; FONT-FAMILY: 굴림; padding:0 5 0 5 ;" name="sstate1" align="center" >연결중</td>
                <td width="0" nowrap background="img/pllayerbg_25.gif" style="padding:0 5 0 5;" ><div id=sstate2 style="FONT-SIZE: 9pt; COLOR: #ffffff; FONT-FAMILY: 굴림;" name="sstate2"></div></td>
              
                <td background="img/pllayerbg_25.gif"><marquee scrollamount=3 width="140">
                  <font color="#FFCC00"><b> 
                  <?=$write[wr_subject]?>
                  </b></font></marquee></td>
                <td width="20"><img src="img/pllayerbg_26.gif" width="20" height="34"></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12">&nbsp;</td>
                <td width="29"><a href="#" onClick="javascript:_stop()"><img src="img/pllayerbg_28.gif" name="stop" width="29" height="33" border="0" id="stop" onMouseOver="MM_swapImage('stop','','img/pllayerbg_on_25.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                <td width="37"><a href="#" onClick="javascript:start()"><img src="img/pllayerbg_on_26.gif" name="play" width="37" height="33" border="0" id="play" onMouseOver="MM_swapImage('play','','img/pllayerbg_on_26.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                <td width="30"><a href="#" onClick="javascript:pause()"><img src="img/pllayerbg_30.gif" name="pluse" width="30" height="33" border="0" id="pluse" onMouseOver="MM_swapImage('pluse','','img/pllayerbg_on_27.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                <td width="117"><table width="117" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="26"><a href="#" onClick="soundOnOff()"><img src="img/pllayerbg_31.gif" name="imgButton" border="0" id="imgButton"></a></td>
                      <td width="72" background="img/pllayerbg_32.gif" valign="top" style="padding-top:10px; "><table width="80" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="5"><a onClick="player_vol('-3000')"> <img id=volumeimage15 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-2800')"> <img id=volumeimage14 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-2600')" ><img id=volumeimage13 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-2400')" ><img id=volumeimage12 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-2200')" ><img id=volumeimage11 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-2000')" ><img id=volumeimage10 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-1800')" ><img id=volumeimage9 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-1600')"><img id=volumeimage8 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-1400')" ><img id=volumeimage7 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-1200')"><img id=volumeimage6 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-1000')"><img id=volumeimage5 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-800')"><img id=volumeimage4 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-600')" ><img id=volumeimage3 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-400')" ><img id=volumeimage2 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('-200')"><img id=volumeimage1 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                            <td width="5"><a onClick="player_vol('0')"><img  id=volumeimage0 height=8 src="img/volume_03.gif" width=4 border=0></a></td>
                          </tr>
                        </table></td>
                      <td width="19"><img src="img/pllayerbg_33.gif" width="19" height="33"></td>
                    </tr>
                  </table></td>
                <td style="padding-right:10px;"><table width="104" border="0" align="right" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="32"><a href="#" onclick="n_size(); list(document.all.b)"><img src="img/screen_01.gif" name="screen1" width="32" height="7" border="0" id="screen1" onMouseOver="MM_swapImage('screen1','','img/screen_on_01.gif','screen2','','img/screen_02.gif','screen3','','img/screen_03.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      <td width="41"><a href="#" onclick="d_size(); list(document.all.a)"><img src="img/screen_02.gif" name="screen2" width="41" height="7" border="0" id="screen2" onMouseOver="MM_swapImage('screen1','','img/screen_01.gif','screen2','','img/screen_on_02.gif','screen3','','img/screen_03.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      <td width="31"><a href="#" onclick=f_size();><img src="img/screen_03.gif" name="screen3" width="31" height="7" border="0" id="screen3" onMouseOver="MM_swapImage('screen1','','img/screen_01.gif','screen2','','img/screen_02.gif','screen3','','img/screen_on_03.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td><div align="center"><img src="img/pllayerbg_37.gif" width="321" height="6"></div></td>
        </tr>
      </table></td>
    <td width="24"><img src="img/pllayerbg_22.gif" width="24" height="88"></td>
  </tr>
  <tr > 
    <td background="img/pllayerbg_40.gif"  height="32" colspan="3"><div align="center"></div></td>
  </tr>
</table><DIV id=a style="DISPLAY: none"></div></td>
    <td><DIV id=b>
	<table width="343" height="100%" border="0" cellpadding="0" cellspacing="0" background="img/right_table2.gif">
  <tr>
    <td><table width="343" height="470" border="0" align="right" cellpadding="0" cellspacing="0" id="right_view">
        <tr>
          <td height="6" align="center"><img src="img/right_table1.gif" width="343" height="6" /></td>
        </tr>
        <tr>
          <td align="center" valign="top" background="img/right_table2.gif">
<table width="318" height="92%" border="0" cellpadding="0" cellspacing="0">
        <tr>
                <td width="318" height="10" valign="bottom"><img src="img/table_in1.gif" width="318" height="9"></td>
              </tr>
              <tr>
                <td width="318" align="center" valign="top" background="img/table_in2.gif"><table width="318" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center"> 
                  <table width="310" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="310" height="35" background="img/title_bg.gif" bgcolor="#FFFFFF" style="padding-left:30px;">
                                   <table valign="top" align="left" width="280" border=0 cellpadding=0 cellspacing=0>
                                <tr> 
                                  <td width="168"> <font color="#FFFFFF"><strong>
                                    <?=$board[bo_subject]?>
                                    </strong></font></td>
                                  <td width="112" align="right" style="padding-right:20px;" ><font color="#FFFFFF">일자 : <?=$view[wr_2]?></font></td>
                                </tr>
                              </table>
                     </td>
                    </tr>
                  </table>
                  <table width="300" border="0" cellspacing="0" cellpadding="0">
                 
                    <tr> 
                      <td align="center" valign="top">
					  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td height="6" background="img/table_top.gif"></td>
                                </tr>
                                <!----binding--------->
                                <tr> 
                                  <td  height="26" bgcolor="F4F5F5" style="padding:2 0 0 10;"> <table valign="top" width="290" border=0 cellpadding=0 cellspacing=0>
                                      <tr> 
                                        <td width="13"><img src="img/arr.gif" width="13" height="11"></td>
                                        <td width="272" style="padding:2 5 0 5;"><strong> <font color="#0D7277">
                                                <?=$view[subject]?></font>
                                                </strong> </td>
                                      </tr>
                                    </table></td>
                                </tr>
								                                <tr> 
                                  <td height="6" background="img/table_top.gif"></td>
                                </tr>
                          <tr> 
                            <td height="15"></td>
                          </tr>
                                <tr> 
                                  <td> <div  style="height:170;width:300;overflow-x:hidden;overflow-y:scroll;" class="scrollbar"> 
                                      <table width="100%" border=0>
                                        <tr> 
                                          <td align="right"><table width="270" border="0" cellspacing="0" cellpadding="0">
                                              <tr> 
                                                <td height="5"></td>
                                              </tr>
                                              <tr> 
                                                <td height="70" width="280" align="left" valign="top"><div align="justify"> 
                                                    <?=$view[content];?>
                                                  </div></tr>
                                              <tr> 
                                                <td height="10"></td>
                                              </tr>
                                            </table></td>
                                        </tr>
                                      </table>
                                    </div></td>
                                </tr>
                              </table>
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td height="20"></td>
                                </tr>
                                <tr> 
                                  <td width="1"><img src="img/text_table-1.gif" width="1" height="29"></td>
                                  <td width="39" background="img/text_table-2.gif"><img src="img/vod_title.gif" width="29" height="29" hspace="5"></td>
                                  <td width="259" background="img/text_table-2.gif"><strong><?=$board[bo_subject]?>- 최신리스트</strong></td>
                                  <td width="1"><img src="img/text_table-1.gif" width="1" height="29"></td>
                                </tr>
                              </table>
                        <!--타이틀중간무니-->
                        <table width="300" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td height="4" background="img/table_gr2.gif"></td>
                          </tr>
						    <tr> 
                            <td height="5" ></td>
                          </tr>
                        </table>
                          <!-- 최신글-->  <?  echo latest("movie_inc", $bo_table, 4, 35); ?><!--최신글-->    
                            </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
                <!--타이틀중간무니--></td>
              </tr>
              <tr>
                <td height="8" valign="top"><img src="img/table_in3.gif" width="318" height="8"></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td height="7" align="center"><img src="img/right_table3.gif" width="343" height="7" /></td>
        </tr>
      </table></td>
  </tr>
</table>

	
	
	</div></td>
  </tr>
</table>




<SCRIPT language=VBscript>
	sub doSetVolume(lVolume)
		Percent = (lVolume-48)/(116-48)*100

		XXX = -4000 +40*Percent
		MediaPlayer1.Volume = XXX
	End Sub
	
	sub doSetPosition(lPosition)
		barpos = lPosition
		if sizemode = 1 then
	             	barlen = 325
	             else
	             	barlen = 650
	             end if
		MediaPlayer1.currentPosition = MediaPlayer1.Duration * (barpos-122) / (barlen-122)
		MediaPlayer1.Play()
				
	End Sub
	</SCRIPT>
</body>
</html>
